If you want your application to support external movie targets, you need to resolve the movie names or IDs to actual movie references. This is accomplished by installing a Movie Controller filter proc for each Movie Controller that filters for the mcActionGetExternalMovie action.
The parameter to the mcActionGetExternalMovie Movie Controller action is a pointer to a QTGetExternalMovieRecord .
First, you look at the targetType field. If it is set to kTargetMovieName , then return the movie and Movie Controller for the movie named by the MovieName field. If it is set to kTargetMovieID , then return the movie and Movie Controller for the movie with ID equal to the MovieID field.
If you cannot find a matching movie, then set theMovie and theController to nil .
| Previous | Chapter Contents | Chapter Top | Next |